// 文档的配置
module.exports = {
  title: "C-UI",
  description: "cpranmo UI",
  themeConfig: {
    lastUpdated: "最后更新时间",
    docsDir: "docs",
    editLinks: true,
    editLinkText: "编辑此网站",
    repo: "https://gitee.com/cpranmo",
    // 底部内容
    footer: {
      message: "Released under the MIT License.",
      copyright: "Copyright © 2022-present cp ranmo"
    },
    // 顶部导航
    nav: [
      { text: "指南", link: "/guide/installation", activeMatch: "/guide/" }, // link 对应的文件路径名
      { text: "组件", link: "/component/icon", activeMatch: "/component/" }
    ],
    // 侧边导航(匹配顶部导航)
    sidebar: {
      "/guide/": [
        {
          text: "指南",
          items: [
            { text: "安装", link: "/guide/installation" },
            { text: "快速开始", link: "/guide/quieStart" }
          ]
        }
      ],
      "/component/": [
        {
          text: "基础组件",
          items: [{ text: "Icon", link: "/component/icon" }]
        }
      ]
    }
  }
};
